package com.lwbldy.common.plugins.logging.service.impl;

import com.lwbldy.common.plugins.logging.domain.SysLogging;
import com.lwbldy.common.plugins.logging.mapper.SysLoggingDao;
import com.lwbldy.common.plugins.logging.service.SysLoggingService;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;

/**
 *  service 实现
 * @author lwb
 * @email lwbldy@163.com
 * @date 2022-03-11 15:41:57
 */
@Service("sysLoggingService")
public class SysLoggingServiceImpl implements SysLoggingService {

    @Autowired
    SysLoggingDao sysLoggingDao;

    @Override
    public int save(SysLogging t) {
        return sysLoggingDao.save(t);
    }

    @Override
    public int saveBatch(List<SysLogging> list) {
        return sysLoggingDao.saveBatch(list);
    }

    @Override
    public int update(SysLogging t) {
        return sysLoggingDao.update(t);
    }

    @Override
    public int delete(Object id) {
        return sysLoggingDao.delete(id);
    }

    @Override
    public int deleteBatch(Object[] ids) {
        return sysLoggingDao.deleteBatch(ids);
    }

    @Override
    public SysLogging queryObject(Object id) {
        return sysLoggingDao.queryObject(id);
    }

    @Override
    public List<SysLogging> queryList(Map<String, Object> map) {
        return sysLoggingDao.queryList(map);
    }

    @Override
    public int queryTotalByMap(Map<String, Object> map) {
        return sysLoggingDao.queryTotalByMap(map);
    }

    @Override
    public int queryTotal() {
        return sysLoggingDao.queryTotal();
    }

}
